"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function getData1(value) {
    return value;
}
function getDate2(value) {
    return value;
}
function getDate(value) {
    return '哈哈哈';
}
getDate(1223);
function getDateF(value) {
    return value;
}
getDateF(123);
getDateF(' ');
var MinClass = (function () {
    function MinClass() {
        this.list = [];
    }
    MinClass.prototype.add = function (num) {
        this.list.push(num);
    };
    MinClass.prototype.min = function () {
        var minNum = this.list[0];
        for (var i = 0; i < this.list.length; i++) {
            if (minNum > this.list[i]) {
                minNum = this.list[i];
            }
        }
        return minNum;
    };
    return MinClass;
}());
var m = new MinClass();
m.add(3);
m.add(22);
m.add(-1);
console.log(m.min());
var m2 = new MinClass();
m2.add('c');
m2.add('a');
m2.add('d');
console.log(m2.min());
